package com.guhappy.model.user;

import java.io.Serializable;
import java.util.Date;

import com.guhappy.model.contest.PaymentMethod;
import com.guhappy.model.contest.TransactionStatus;

public class Transaction implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private Float amount;
	private Date tranc_date;
	private String desc;
	
	private TransactionType transaction_type;
	private Account account;
	private PaymentMethod paymentMethod;
	private TransactionStatus transactionStatus;
	
	/**
	 * @param id
	 * @param amount
	 * @param tranc_date
	 * @param desc
	 */
	public Transaction(String id, Float amount, Date tranc_date, String desc) {
		this.id = id;
		this.amount = amount;
		this.tranc_date = tranc_date;
		this.desc = desc;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Float getAmount() {
		return amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

	public Date getTranc_date() {
		return tranc_date;
	}

	public void setTranc_date(Date tranc_date) {
		this.tranc_date = tranc_date;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public TransactionType getTransaction_type() {
		return transaction_type;
	}

	public void setTransaction_type(TransactionType transaction_type) {
		this.transaction_type = transaction_type;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public PaymentMethod getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(PaymentMethod paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public TransactionStatus getTransactionStatus() {
		return transactionStatus;
	}

	public void setTransactionStatus(TransactionStatus transactionStatus) {
		this.transactionStatus = transactionStatus;
	}
	
}
